package edu.sctu.practice.class02.xuejiahua.test08;

/**
 * Created by Administrator on 2015/10/10.
 */
public class Car extends Vechicles {
    public Car(String brand, String color) {
        super(brand, color);
    }
    public int seats;

    public Car(String brand, String color, int seats) {
        super(brand, color);
        this.seats = seats;
    }

    public void showCar(){
        System.out.println(brand);
        System.out.println(color);
        System.out.println(seats);
    }

}
